package com.example.demo.service;

import com.example.demo.entity.Progress;
import com.example.demo.entity.Subject;
import com.example.demo.service.Impl.ProgressImpl;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ProgressService {

    Progress updateByScore(String score, Long examId);

    List<Progress> findAllProgress();
    Progress findByStudentID(Long studentId);


    Progress addProgress(Progress progress);

    Long deleteProgress(Long progressId);

    Progress updateProgress(Progress progress);

    Map<Map<String,Integer>, Date> findApplicationAndExam(Long studentId);
}
